home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000059_news@newsmaster….columbia.edu _Tue Jan 6 02:12:16 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id CAA21697
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 6 Jan 1998 02:12:15 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id CAA06228
for kermit.misc@watsun; Tue, 6 Jan 1998 02:12:15 -0500 (EST)
Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!howland.erols.net!news.sgi.com!wrdiss1.robins.af.mil!wpdiss1.wpafb.af.mil!oodiss1.hill.af.mil!news.cc.utah.edu!news.cs.utah.edu!cc.usu.edu!jrd
From: jrd@cc.usu.edu (Joe Doupnik)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Delete and Filespec Question.clo
Message-ID: <HmRFGgD0NEbz@cc.usu.edu>
Date: 5 Jan 98 21:33:55 MDT
References: <68phdt$4hu$1@goanna.cs.rmit.edu.au>
Organization: Utah State University
Lines: 28
Xref: news.columbia.edu comp.protocols.kermit.misc:8228
In article <68phdt$4hu$1@goanna.cs.rmit.edu.au>, rwi@yallara.cs.rmit.edu.au (Ross Irvine) writes:
> More Questions.. :)
>
> I'm using Kermit for DOS 3.15.
>
> Doing a del c:\temp\*.* prompts for a "Are you sure" is there anyway to
> return OFF this prompt?
>
> Also is there a way to get a pathname out of a string.
> Eg I've written something that will go through a directory (passed as a
> parameter) and send all the files, then delete them after it's finished.
> The problem is when loading an array with the filename using \ffile() and
> \fnextfile, the pathname is not returned with the \fnextfile call. This
> means if I just cylce through the array to send the files and my current
> kermit directory isn't the correct one it won't be able to find the files.
----------
The Are you sure message is from DOS, not from Kermit. Your delete
command is passed to DOS for intepretation.
Parsing paths from files is not nearly as simple as it looks. Recall,
the string might be just a list of directories with no filename at the end,
or a filename is at the end but had no extension, or wild cards are present,
etc. And it may be rooted or relative, and so on. CKermit and MS-DOS Kermit
in development have tree walking features where components can be tested
for file-ness via the o/s. MSK's does not use or need arrays because DOS
provides methods to remember one's place. Lists of files and directories
are available this way. Please see MSK 3.16 Alpha 1 (alpha level development)
on kermit.columbia.edu.
Joe D.